#!/bin/bash

# 1 ----
top -b -n 10 -u vladimir > ~/linlabs/top10.log &

# 2 ---- ???????????
jobs >> ~/linlabs/work2.log #ps 

# 3 ----
ps aux >> ~/linlabs/work2.log

# 4 ----
pstree >> ~/linlabs/work2.log

# 5 ----
killall tail 2> /dev/null


###
# echo $$ (or using ps aux?)
# pstree 1757

#ping google.com
#9 KILL, instead of 15 TERM
kill -l > ~/linlabs/signals.txt